define(() => {
    return function (goodsMsg) {
        return goodsMsg.reduce((prev, now) => now.check ? prev + Number(now.num) : prev, 0
        )
    }
})